import request from "@/utils/request"


export const noticPageSercive = (param) => {
    return request.get('/notice/page', { params: param })
}

export const noticeDeleteBatchService = (param) => {
    return request.delete('/notice/batch', { data: param })
}

export const noticeDeleteService = (id) => {
    return request.delete('/notice', { params: { id: id } })
}

export const noticeUpdateService = (param) => {
    return request.put('/notice', param)
}

export const noticeAddService = (param) => {
    return request.post('/notice', param)
}